package design_pattern.ObserveThread.basic;

/**
 * @Author: 蔡翔
 * @Date: 2019/10/30 13:45
 * @Version 1.0
 */
public class OctalObserver extends Observer {

    public OctalObserver(Subject subject){
        super(subject);
    }

    @Override
    public void update() {
        System.out.println("Octal String:"+Integer.toOctalString(subject.getState()));
    }
}
